<div class="place-admin-table">
	<table class="admin-table">
		<thead>
			<tr>
				<td>ID</td>
				<td>Tên</td>
				<td>Giá</td>
				<td>Tình trạng</td>
				<td>Cập nhật</td>
				<td>Chỉnh sửa</td>
			</tr>
		</thead>
		<tbody>
		<?php foreach($items as $item): ?>
			<tr>
				<td><?php echo $item['_id']; ?></td>
				<td><?php echo $item['name']; ?></td>
				<td><?php echo $item['price']; ?></td>
				<td><?php echo $item['publish_status']; ?></td>
				<td><?php echo format_datetime($item['updated_at']); ?></td>
				<td>
					<a href="<?php echo Agilet::getUrl('manage/product/edit', array('_id' => $item['_id'])); ?>">Sửa</a>
					|
					<a href="">Xóa</a>
				</td>
			</tr>
		<?php endforeach; ?>
		</tbody>
	</table>
</div>